package in.freshstart.java.training.arrays;

public class ReverseArray {
	public static void main(String[] args) {

		int[] a = { 1, 7, 3, 4, 5, 6,2,3,4,5 };
		System.out.println("Array before Reversing ");
		for (int i = 0; i < a.length; i++) {
			System.out.print(a[i] + "\t");
		}
		System.out.println("\nArray after Reversing ");
		for (int i = a.length - 1; i >= 0; i--) {
			System.out.print(a[i] + "\t");
		}

	}
}
